package com.newy.domain.sys;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.newy.core.hibernate.IdEntity;

/**
 * 字典实体类
 * @author linzongxue 2012-2-18
 *
 */
@Entity
@Table(name="sys_dict")
public class Dict extends IdEntity {
	private String name;
	private Long parentId;
	private String text;
	private Integer value;
	private String memo;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public Integer getValue() {
		return value;
	}
	public void setValue(Integer value) {
		this.value = value;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
}
